CC := g++
CFLAGS := -O2 -W -Wall -Wextra -fopenmp -ggdb

OBJS := $(patsubst %.c,%.o,$(wildcard *.cpp))
EXEC := quicksort


all: $(EXEC)

$(EXEC): $(OBJS)
	$(CC) -o $(EXEC) $(OBJS) $(CFLAGS)

clean:
	-rm -f $(EXEC) *.elf *.gdb *.o